package com.xmhmyh.generalframework.framework.exceptions;

import com.xmhmyh.generalframework.common.enums.ResponseCode;

/**
 * @Author: 于丁
 * @DateTime: 2020/7/29 1:52 下午
 */
public class ManageExceptions extends RuntimeException {
    private ResponseCode responseCode;


    public ManageExceptions(ResponseCode responseCode) {
        super(responseCode.getLabel());
        this.responseCode = responseCode;
    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }
}
